{"ast":null,"code":"import * as React from 'react';\nconst DisabledContext = /*#__PURE__*/React.createContext(false);\nexport const DisabledContextProvider = _ref => {\n  let {\n    children,\n    disabled\n  } = _ref;\n  const originDisabled = React.useContext(DisabledContext);\n  return /*#__PURE__*/React.createElement(DisabledContext.Provider, {\n    value: disabled !== null && disabled !== void 0 ? disabled : originDisabled\n  }, children);\n};\nexport default DisabledContext;","map":{"version":3,"names":["React","DisabledContext","createContext","DisabledContextProvider","_ref","children","disabled","originDisabled","useContext","createElement","Provider","value"],"sources":["/data/messenger.client/node_modules/antd/es/config-provider/DisabledContext.js"],"sourcesContent":["import * as React from 'react';\nconst DisabledContext = /*#__PURE__*/React.createContext(false);\nexport const DisabledContextProvider = _ref => {\n  let {\n    children,\n    disabled\n  } = _ref;\n  const originDisabled = React.useContext(DisabledContext);\n  return /*#__PURE__*/React.createElement(DisabledContext.Provider, {\n    value: disabled !== null && disabled !== void 0 ? disabled : originDisabled\n  }, children);\n};\nexport default DisabledContext;"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,MAAMC,eAAe,GAAG,aAAaD,KAAK,CAACE,aAAa,CAAC,KAAK,CAAC;AAC/D,OAAO,MAAMC,uBAAuB,GAAGC,IAAI,IAAI;EAC7C,IAAI;IACFC,QAAQ;IACRC;EACF,CAAC,GAAGF,IAAI;EACR,MAAMG,cAAc,GAAGP,KAAK,CAACQ,UAAU,CAACP,eAAe,CAAC;EACxD,OAAO,aAAaD,KAAK,CAACS,aAAa,CAACR,eAAe,CAACS,QAAQ,EAAE;IAChEC,KAAK,EAAEL,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAK,KAAK,CAAC,GAAGA,QAAQ,GAAGC;EAC/D,CAAC,EAAEF,QAAQ,CAAC;AACd,CAAC;AACD,eAAeJ,eAAe"},"metadata":{},"sourceType":"module"}